package com.luwak.spring.foramework.webmvc;

import java.lang.reflect.Method;
import java.util.regex.Pattern;

/**
 * @author wanggang
 * @date 2018年5月7日 上午11:09:17
 * 
 */
public class RuHandlerMapping {
	
	private Object controller;
	private Method method;
	private Pattern pattern;
	
	public RuHandlerMapping(Object controller, Method method, Pattern pattern) {
		super();
		this.controller = controller;
		this.method = method;
		this.pattern = pattern;
	}
	
	public Object getController() {
		return controller;
	}
	public void setController(Object controller) {
		this.controller = controller;
	}
	public Method getMethod() {
		return method;
	}
	public void setMethod(Method method) {
		this.method = method;
	}
	public Pattern getPattern() {
		return pattern;
	}
	public void setPattern(Pattern pattern) {
		this.pattern = pattern;
	}

}
